package com.kandinfo.base.admin.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "dict_data")
public class DictData extends BaseDomain {

    private static final long serialVersionUID = 6512431560377448873L;


    @Column(name = "dict_def_id")
    private Long dictDefId;

    @Column(name = "code")
    private String code;

    @Column(name = "value")
    private String value;

    @Column(name = "name")
    private String name;
    
    @Column(name = "comment")
    private String comment;

    @Column(name = "index")
    private int index;

	public Long getDictDefId() {
		return dictDefId;
	}

	public void setDictDefId(Long dictDefId) {
		this.dictDefId = dictDefId;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

}
